function signal = prependZerosUntil(signal, tam)

    zeros2add = tam - length(signal);
    if zeros2add > 0
        signal = [zeros(zeros2add, 1); signal];
    end
    

end

